import fetch from '../util/fetch2';

export function searchResume(params?: any) {
  return fetch({
    url: '/searchResume',
    body: params,
    method: 'POST',
  });
}

export function syncResumeById(params?: any) {
  return fetch({
    url: '/syncResumeById',
    body: params,
    method: 'POST',
  });
}

export function getRecommend(params?: any) {
  return fetch({
    url: '/getRecommend',
    body: params,
    method: 'POST',
  });
}

export function getRecommendDetail(params?: any) {
  return fetch({
    url: '/getRecommendDetail',
    body: params,
    method: 'POST',
  });
}

export function getFanwen(params?: any) {
  return fetch({
    url: '/getFanwen',
    body: params,
    method: 'POST',
  });
}
export function getFanwenDetail(params?: any) {
  return fetch({
    url: '/getFanwenDetail',
    body: params,
    method: 'POST',
  });
}

export function getWordTemplate(params?: any) {
  return fetch({
    url: '/getWordTemplate',
    body: params,
    method: 'POST',
  });
}

export function getWordTemplateById(params?: any) {
  return fetch({
    url: '/getWordTemplateById',
    body: params,
    method: 'POST',
  });
}
